<template>
	<view class="" style="width: 100vw;height: 100vh">
		<view class="content" :style="{'background':kbackgroundColor2}" style="min-height: 100vh">
		<hx-navbar title="企业认证" :back="true" :fixed="false" :color="knavTitleColor" barPlaceholder="hidden" transparent="auto">
		</hx-navbar>
		<view class="content-top">
			<view class="cont_back">
				<image class="image" v-if="type==1" src="@/static/user/wallet/dispose.png" mode=""></image>
				<image class="image" v-if="type==2" src="@/static/user/wallet/succeed.png" mode=""></image>
				<image class="image" v-if="type==3 || type==4" src="@/static/user/wallet/lose.png" mode=""></image>
			</view>
			<view class="cont_mess" :style="{color:knormalColor}" v-if="type==1">
				您的企业账户信息已提交预计1-2个工作日内完成审核。
			</view>
			<view class="cont_mess" :style="{color:knormalColor}" v-if="type==2">
				您的企业账户认证已通过！
			</view>
			<view class="cont_mess" :style="{color:knormalColor}"  v-if="type==3 || type==4">
		 您的企业账户认证已被驳回，请修改企业信息重新提交认证。
			</view>
		</view>
		<view class="bth" v-if="type==3 || type==4">
			<view class="btntk" @click="alterClick" :style="{background:kbuttonBgColor}">
				修改
			</view>
		
		</view>
	</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				type:''
			}
		},onPullDownRefresh() {
			setTimeout(function() {
				uni.stopPullDownRefresh()
			}, 1000)
		},
		onLoad(val) {
			this.type=val.type
		},
		methods: {
			alterClick(){
				uni.navigateTo({
					url: '/pages/user/wallet/company-auth'
				})
			}
		}
	}
</script>

<style scoped lang="scss">
	.content {
		// padding: 30rpx 40rpx;
	}
	.content-top{
		
	}
	.cont_back {
		margin: 80rpx auto 5rpx;
		text-align: center;
		width: 690rpx;
		.image {
			width: 451rpx;	margin: 60rpx auto 2rpx;
		}
		}
.cont_mess{
	width: 568rpx;text-align: center;line-height: 1.8;
	margin: 1rpx auto;font-weight: bold;
font-size: 30rpx;
	
}
.bth {
	
		position: fixed;
		bottom: 90rpx;
		left: 32%;

	}

	.btntk {
		width: 270rpx;
		height: 88rpx;
		margin: 10rpx auto;
		border-radius: 44rpx;
		display: flex;
		align-items: center;
		justify-content: center;
		font-size: 32rpx;
		color: #fff;
		font-weight: 400;
	}
</style>
